﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebApiV3.Data.Entity;

namespace WebApiV3.Data
{
    public class Admin1200DbContext:DbContext 
    {
     
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            
            optionsBuilder.UseSqlServer("server=.;database=Admin1200;uid=sa;pwd=123456");
            
        }

        public DbSet<Users> Users { get; set; }
        public DbSet<Roles> Roles { get; set; }

        public DbSet<Logs> Logs { get; set; }
    }
}
